using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using asWins.Forms;

namespace TestMdi
{
	public class ManyControlForm : asWins.Forms.BaseForm
	{
		#region Constructor and Dispose

		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.TabControl tabControl1;
		private System.Windows.Forms.TabPage tabPage1;
		private System.Windows.Forms.TabPage tabPage2;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.TextBox textBox5;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.TextBox textBox6;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.TextBox textBox7;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.TextBox textBox8;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.TextBox textBox9;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.TextBox textBox10;
		private System.Windows.Forms.Label label10;
		private System.Windows.Forms.TextBox textBox11;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.TextBox textBox12;
		private System.Windows.Forms.Label label12;
		private System.Windows.Forms.TextBox textBox13;
		private System.Windows.Forms.Label label13;
		private System.Windows.Forms.TextBox textBox14;
		private System.Windows.Forms.Label label14;
		private System.Windows.Forms.TextBox textBox15;
		private System.Windows.Forms.Label label15;
		private System.Windows.Forms.TextBox textBox16;
		private System.Windows.Forms.Label label16;
		private System.Windows.Forms.Label label17;
		private System.Windows.Forms.ComboBox comboBox1;
		private System.Windows.Forms.ComboBox comboBox2;
		private System.Windows.Forms.Label label18;
		private System.Windows.Forms.ComboBox comboBox3;
		private System.Windows.Forms.Label label19;
		private System.Windows.Forms.ComboBox comboBox4;
		private System.Windows.Forms.Label label20;
		private System.Windows.Forms.ComboBox comboBox5;
		private System.Windows.Forms.Label label21;
		private System.Windows.Forms.ComboBox comboBox6;
		private System.Windows.Forms.Label label22;
		private System.Windows.Forms.ComboBox comboBox7;
		private System.Windows.Forms.Label label23;
		private System.Windows.Forms.ComboBox comboBox8;
		private System.Windows.Forms.Label label24;
		private System.Windows.Forms.ComboBox comboBox9;
		private System.Windows.Forms.Label label25;
		private System.Windows.Forms.ComboBox comboBox10;
		private System.Windows.Forms.Label label26;
		private System.Windows.Forms.ComboBox comboBox11;
		private System.Windows.Forms.Label label27;
		private System.Windows.Forms.ComboBox comboBox12;
		private System.Windows.Forms.Label label28;
		private System.Windows.Forms.ComboBox comboBox13;
		private System.Windows.Forms.Label label29;
		private System.Windows.Forms.ComboBox comboBox14;
		private System.Windows.Forms.Label label30;
		private System.Windows.Forms.ComboBox comboBox15;
		private System.Windows.Forms.Label label31;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button button4;
		private System.Windows.Forms.ColorDialog colorDialog1;
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.CheckBox checkBox2;
		private System.Windows.Forms.CheckBox checkBox3;
		private System.Windows.Forms.CheckBox checkBox1;
		private System.ComponentModel.IContainer components = null;

		public ManyControlForm()
		{
			// This call is required by the Windows Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitializeComponent call
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#endregion

		#region Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.panel1 = new System.Windows.Forms.Panel();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.checkBox3 = new System.Windows.Forms.CheckBox();
			this.checkBox2 = new System.Windows.Forms.CheckBox();
			this.button1 = new System.Windows.Forms.Button();
			this.button3 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.tabPage1 = new System.Windows.Forms.TabPage();
			this.comboBox9 = new System.Windows.Forms.ComboBox();
			this.label25 = new System.Windows.Forms.Label();
			this.comboBox10 = new System.Windows.Forms.ComboBox();
			this.label26 = new System.Windows.Forms.Label();
			this.comboBox11 = new System.Windows.Forms.ComboBox();
			this.label27 = new System.Windows.Forms.Label();
			this.comboBox12 = new System.Windows.Forms.ComboBox();
			this.label28 = new System.Windows.Forms.Label();
			this.comboBox13 = new System.Windows.Forms.ComboBox();
			this.label29 = new System.Windows.Forms.Label();
			this.comboBox14 = new System.Windows.Forms.ComboBox();
			this.label30 = new System.Windows.Forms.Label();
			this.comboBox15 = new System.Windows.Forms.ComboBox();
			this.label31 = new System.Windows.Forms.Label();
			this.comboBox5 = new System.Windows.Forms.ComboBox();
			this.label21 = new System.Windows.Forms.Label();
			this.comboBox6 = new System.Windows.Forms.ComboBox();
			this.label22 = new System.Windows.Forms.Label();
			this.comboBox7 = new System.Windows.Forms.ComboBox();
			this.label23 = new System.Windows.Forms.Label();
			this.comboBox8 = new System.Windows.Forms.ComboBox();
			this.label24 = new System.Windows.Forms.Label();
			this.comboBox3 = new System.Windows.Forms.ComboBox();
			this.label19 = new System.Windows.Forms.Label();
			this.comboBox4 = new System.Windows.Forms.ComboBox();
			this.label20 = new System.Windows.Forms.Label();
			this.comboBox2 = new System.Windows.Forms.ComboBox();
			this.label18 = new System.Windows.Forms.Label();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.label17 = new System.Windows.Forms.Label();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.label9 = new System.Windows.Forms.Label();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.label10 = new System.Windows.Forms.Label();
			this.textBox11 = new System.Windows.Forms.TextBox();
			this.label11 = new System.Windows.Forms.Label();
			this.textBox12 = new System.Windows.Forms.TextBox();
			this.label12 = new System.Windows.Forms.Label();
			this.textBox13 = new System.Windows.Forms.TextBox();
			this.label13 = new System.Windows.Forms.Label();
			this.textBox14 = new System.Windows.Forms.TextBox();
			this.label14 = new System.Windows.Forms.Label();
			this.textBox15 = new System.Windows.Forms.TextBox();
			this.label15 = new System.Windows.Forms.Label();
			this.textBox16 = new System.Windows.Forms.TextBox();
			this.label16 = new System.Windows.Forms.Label();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.label8 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.checkBox1 = new System.Windows.Forms.CheckBox();
			this.label1 = new System.Windows.Forms.Label();
			this.tabPage2 = new System.Windows.Forms.TabPage();
			this.colorDialog1 = new System.Windows.Forms.ColorDialog();
			this.panel1.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.tabControl1.SuspendLayout();
			this.tabPage1.SuspendLayout();
			this.SuspendLayout();
			// 
			// panel1
			// 
			this.panel1.Controls.Add(this.groupBox1);
			this.panel1.Controls.Add(this.button2);
			this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
			this.panel1.Location = new System.Drawing.Point(0, 0);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(792, 160);
			this.panel1.TabIndex = 2;
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.checkBox3);
			this.groupBox1.Controls.Add(this.checkBox2);
			this.groupBox1.Controls.Add(this.button1);
			this.groupBox1.Controls.Add(this.button3);
			this.groupBox1.Controls.Add(this.button4);
			this.groupBox1.Location = new System.Drawing.Point(120, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(560, 128);
			this.groupBox1.TabIndex = 26;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Property Setting";
			// 
			// checkBox3
			// 
			this.checkBox3.Location = new System.Drawing.Point(288, 48);
			this.checkBox3.Name = "checkBox3";
			this.checkBox3.Size = new System.Drawing.Size(216, 24);
			this.checkBox3.TabIndex = 27;
			this.checkBox3.Text = "Allow close when double click";
			this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
			// 
			// checkBox2
			// 
			this.checkBox2.Location = new System.Drawing.Point(288, 24);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new System.Drawing.Size(176, 24);
			this.checkBox2.TabIndex = 26;
			this.checkBox2.Text = "UseGradientMode";
			this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(88, 24);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(176, 23);
			this.button1.TabIndex = 23;
			this.button1.Text = "FrameBackColor";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button3
			// 
			this.button3.Location = new System.Drawing.Point(88, 56);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(176, 23);
			this.button3.TabIndex = 24;
			this.button3.Text = "TabColor";
			this.button3.Click += new System.EventHandler(this.button3_Click);
			// 
			// button4
			// 
			this.button4.Location = new System.Drawing.Point(88, 88);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(176, 23);
			this.button4.TabIndex = 25;
			this.button4.Text = "TabBorderColor";
			this.button4.Click += new System.EventHandler(this.button4_Click);
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(8, 8);
			this.button2.Name = "button2";
			this.button2.TabIndex = 22;
			this.button2.Text = "Close";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// tabControl1
			// 
			this.tabControl1.Controls.Add(this.tabPage1);
			this.tabControl1.Controls.Add(this.tabPage2);
			this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.tabControl1.Location = new System.Drawing.Point(0, 160);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(792, 413);
			this.tabControl1.TabIndex = 3;
			// 
			// tabPage1
			// 
			this.tabPage1.Controls.Add(this.comboBox9);
			this.tabPage1.Controls.Add(this.label25);
			this.tabPage1.Controls.Add(this.comboBox10);
			this.tabPage1.Controls.Add(this.label26);
			this.tabPage1.Controls.Add(this.comboBox11);
			this.tabPage1.Controls.Add(this.label27);
			this.tabPage1.Controls.Add(this.comboBox12);
			this.tabPage1.Controls.Add(this.label28);
			this.tabPage1.Controls.Add(this.comboBox13);
			this.tabPage1.Controls.Add(this.label29);
			this.tabPage1.Controls.Add(this.comboBox14);
			this.tabPage1.Controls.Add(this.label30);
			this.tabPage1.Controls.Add(this.comboBox15);
			this.tabPage1.Controls.Add(this.label31);
			this.tabPage1.Controls.Add(this.comboBox5);
			this.tabPage1.Controls.Add(this.label21);
			this.tabPage1.Controls.Add(this.comboBox6);
			this.tabPage1.Controls.Add(this.label22);
			this.tabPage1.Controls.Add(this.comboBox7);
			this.tabPage1.Controls.Add(this.label23);
			this.tabPage1.Controls.Add(this.comboBox8);
			this.tabPage1.Controls.Add(this.label24);
			this.tabPage1.Controls.Add(this.comboBox3);
			this.tabPage1.Controls.Add(this.label19);
			this.tabPage1.Controls.Add(this.comboBox4);
			this.tabPage1.Controls.Add(this.label20);
			this.tabPage1.Controls.Add(this.comboBox2);
			this.tabPage1.Controls.Add(this.label18);
			this.tabPage1.Controls.Add(this.comboBox1);
			this.tabPage1.Controls.Add(this.label17);
			this.tabPage1.Controls.Add(this.textBox9);
			this.tabPage1.Controls.Add(this.label9);
			this.tabPage1.Controls.Add(this.textBox10);
			this.tabPage1.Controls.Add(this.label10);
			this.tabPage1.Controls.Add(this.textBox11);
			this.tabPage1.Controls.Add(this.label11);
			this.tabPage1.Controls.Add(this.textBox12);
			this.tabPage1.Controls.Add(this.label12);
			this.tabPage1.Controls.Add(this.textBox13);
			this.tabPage1.Controls.Add(this.label13);
			this.tabPage1.Controls.Add(this.textBox14);
			this.tabPage1.Controls.Add(this.label14);
			this.tabPage1.Controls.Add(this.textBox15);
			this.tabPage1.Controls.Add(this.label15);
			this.tabPage1.Controls.Add(this.textBox16);
			this.tabPage1.Controls.Add(this.label16);
			this.tabPage1.Controls.Add(this.textBox5);
			this.tabPage1.Controls.Add(this.label5);
			this.tabPage1.Controls.Add(this.textBox6);
			this.tabPage1.Controls.Add(this.label6);
			this.tabPage1.Controls.Add(this.textBox7);
			this.tabPage1.Controls.Add(this.label7);
			this.tabPage1.Controls.Add(this.textBox8);
			this.tabPage1.Controls.Add(this.label8);
			this.tabPage1.Controls.Add(this.textBox3);
			this.tabPage1.Controls.Add(this.label3);
			this.tabPage1.Controls.Add(this.textBox4);
			this.tabPage1.Controls.Add(this.label4);
			this.tabPage1.Controls.Add(this.textBox2);
			this.tabPage1.Controls.Add(this.label2);
			this.tabPage1.Controls.Add(this.textBox1);
			this.tabPage1.Controls.Add(this.checkBox1);
			this.tabPage1.Controls.Add(this.label1);
			this.tabPage1.Location = new System.Drawing.Point(4, 23);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Size = new System.Drawing.Size(784, 386);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "tabPage1";
			// 
			// comboBox9
			// 
			this.comboBox9.Location = new System.Drawing.Point(392, 384);
			this.comboBox9.Name = "comboBox9";
			this.comboBox9.TabIndex = 62;
			this.comboBox9.Text = "comboBox9";
			// 
			// label25
			// 
			this.label25.Location = new System.Drawing.Point(288, 384);
			this.label25.Name = "label25";
			this.label25.TabIndex = 61;
			this.label25.Text = "label1:";
			this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox10
			// 
			this.comboBox10.Location = new System.Drawing.Point(392, 360);
			this.comboBox10.Name = "comboBox10";
			this.comboBox10.TabIndex = 60;
			this.comboBox10.Text = "comboBox10";
			// 
			// label26
			// 
			this.label26.Location = new System.Drawing.Point(288, 360);
			this.label26.Name = "label26";
			this.label26.TabIndex = 59;
			this.label26.Text = "label1:";
			this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox11
			// 
			this.comboBox11.Location = new System.Drawing.Point(392, 336);
			this.comboBox11.Name = "comboBox11";
			this.comboBox11.TabIndex = 58;
			this.comboBox11.Text = "comboBox11";
			// 
			// label27
			// 
			this.label27.Location = new System.Drawing.Point(288, 336);
			this.label27.Name = "label27";
			this.label27.TabIndex = 57;
			this.label27.Text = "label1:";
			this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox12
			// 
			this.comboBox12.Location = new System.Drawing.Point(392, 312);
			this.comboBox12.Name = "comboBox12";
			this.comboBox12.TabIndex = 56;
			this.comboBox12.Text = "comboBox12";
			// 
			// label28
			// 
			this.label28.Location = new System.Drawing.Point(288, 312);
			this.label28.Name = "label28";
			this.label28.TabIndex = 55;
			this.label28.Text = "label1:";
			this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox13
			// 
			this.comboBox13.Location = new System.Drawing.Point(392, 288);
			this.comboBox13.Name = "comboBox13";
			this.comboBox13.TabIndex = 54;
			this.comboBox13.Text = "comboBox13";
			// 
			// label29
			// 
			this.label29.Location = new System.Drawing.Point(288, 288);
			this.label29.Name = "label29";
			this.label29.TabIndex = 53;
			this.label29.Text = "label1:";
			this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox14
			// 
			this.comboBox14.Location = new System.Drawing.Point(392, 264);
			this.comboBox14.Name = "comboBox14";
			this.comboBox14.TabIndex = 52;
			this.comboBox14.Text = "comboBox14";
			// 
			// label30
			// 
			this.label30.Location = new System.Drawing.Point(288, 264);
			this.label30.Name = "label30";
			this.label30.TabIndex = 51;
			this.label30.Text = "label1:";
			this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox15
			// 
			this.comboBox15.Location = new System.Drawing.Point(392, 240);
			this.comboBox15.Name = "comboBox15";
			this.comboBox15.TabIndex = 50;
			this.comboBox15.Text = "comboBox15";
			// 
			// label31
			// 
			this.label31.Location = new System.Drawing.Point(288, 240);
			this.label31.Name = "label31";
			this.label31.TabIndex = 49;
			this.label31.Text = "label1:";
			this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox5
			// 
			this.comboBox5.Location = new System.Drawing.Point(392, 216);
			this.comboBox5.Name = "comboBox5";
			this.comboBox5.TabIndex = 48;
			this.comboBox5.Text = "comboBox5";
			// 
			// label21
			// 
			this.label21.Location = new System.Drawing.Point(288, 216);
			this.label21.Name = "label21";
			this.label21.TabIndex = 47;
			this.label21.Text = "label1:";
			this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox6
			// 
			this.comboBox6.Location = new System.Drawing.Point(392, 192);
			this.comboBox6.Name = "comboBox6";
			this.comboBox6.TabIndex = 46;
			this.comboBox6.Text = "comboBox6";
			// 
			// label22
			// 
			this.label22.Location = new System.Drawing.Point(288, 192);
			this.label22.Name = "label22";
			this.label22.TabIndex = 45;
			this.label22.Text = "label1:";
			this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox7
			// 
			this.comboBox7.Location = new System.Drawing.Point(392, 168);
			this.comboBox7.Name = "comboBox7";
			this.comboBox7.TabIndex = 44;
			this.comboBox7.Text = "comboBox7";
			// 
			// label23
			// 
			this.label23.Location = new System.Drawing.Point(288, 168);
			this.label23.Name = "label23";
			this.label23.TabIndex = 43;
			this.label23.Text = "label1:";
			this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox8
			// 
			this.comboBox8.Location = new System.Drawing.Point(392, 144);
			this.comboBox8.Name = "comboBox8";
			this.comboBox8.TabIndex = 42;
			this.comboBox8.Text = "comboBox8";
			// 
			// label24
			// 
			this.label24.Location = new System.Drawing.Point(288, 144);
			this.label24.Name = "label24";
			this.label24.TabIndex = 41;
			this.label24.Text = "label1:";
			this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox3
			// 
			this.comboBox3.Location = new System.Drawing.Point(392, 120);
			this.comboBox3.Name = "comboBox3";
			this.comboBox3.TabIndex = 40;
			this.comboBox3.Text = "comboBox3";
			// 
			// label19
			// 
			this.label19.Location = new System.Drawing.Point(288, 120);
			this.label19.Name = "label19";
			this.label19.TabIndex = 39;
			this.label19.Text = "label1:";
			this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox4
			// 
			this.comboBox4.Location = new System.Drawing.Point(392, 96);
			this.comboBox4.Name = "comboBox4";
			this.comboBox4.TabIndex = 38;
			this.comboBox4.Text = "comboBox4";
			// 
			// label20
			// 
			this.label20.Location = new System.Drawing.Point(288, 96);
			this.label20.Name = "label20";
			this.label20.TabIndex = 37;
			this.label20.Text = "label1:";
			this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox2
			// 
			this.comboBox2.Location = new System.Drawing.Point(392, 72);
			this.comboBox2.Name = "comboBox2";
			this.comboBox2.TabIndex = 36;
			this.comboBox2.Text = "comboBox2";
			// 
			// label18
			// 
			this.label18.Location = new System.Drawing.Point(288, 72);
			this.label18.Name = "label18";
			this.label18.TabIndex = 35;
			this.label18.Text = "label1:";
			this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// comboBox1
			// 
			this.comboBox1.Location = new System.Drawing.Point(392, 48);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.TabIndex = 34;
			this.comboBox1.Text = "comboBox1";
			// 
			// label17
			// 
			this.label17.Location = new System.Drawing.Point(288, 48);
			this.label17.Name = "label17";
			this.label17.TabIndex = 33;
			this.label17.Text = "label1:";
			this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox9
			// 
			this.textBox9.Location = new System.Drawing.Point(128, 384);
			this.textBox9.Name = "textBox9";
			this.textBox9.TabIndex = 32;
			this.textBox9.Text = "textBox9";
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(24, 384);
			this.label9.Name = "label9";
			this.label9.TabIndex = 31;
			this.label9.Text = "label1:";
			this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox10
			// 
			this.textBox10.Location = new System.Drawing.Point(128, 360);
			this.textBox10.Name = "textBox10";
			this.textBox10.TabIndex = 30;
			this.textBox10.Text = "textBox10";
			// 
			// label10
			// 
			this.label10.Location = new System.Drawing.Point(24, 360);
			this.label10.Name = "label10";
			this.label10.TabIndex = 29;
			this.label10.Text = "label1:";
			this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox11
			// 
			this.textBox11.Location = new System.Drawing.Point(128, 336);
			this.textBox11.Name = "textBox11";
			this.textBox11.TabIndex = 28;
			this.textBox11.Text = "textBox11";
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(24, 336);
			this.label11.Name = "label11";
			this.label11.TabIndex = 27;
			this.label11.Text = "label1:";
			this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox12
			// 
			this.textBox12.Location = new System.Drawing.Point(128, 312);
			this.textBox12.Name = "textBox12";
			this.textBox12.TabIndex = 26;
			this.textBox12.Text = "textBox12";
			// 
			// label12
			// 
			this.label12.Location = new System.Drawing.Point(24, 312);
			this.label12.Name = "label12";
			this.label12.TabIndex = 25;
			this.label12.Text = "label1:";
			this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox13
			// 
			this.textBox13.Location = new System.Drawing.Point(128, 288);
			this.textBox13.Name = "textBox13";
			this.textBox13.TabIndex = 24;
			this.textBox13.Text = "textBox13";
			// 
			// label13
			// 
			this.label13.Location = new System.Drawing.Point(24, 288);
			this.label13.Name = "label13";
			this.label13.TabIndex = 23;
			this.label13.Text = "label1:";
			this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox14
			// 
			this.textBox14.Location = new System.Drawing.Point(128, 264);
			this.textBox14.Name = "textBox14";
			this.textBox14.TabIndex = 22;
			this.textBox14.Text = "textBox14";
			// 
			// label14
			// 
			this.label14.Location = new System.Drawing.Point(24, 264);
			this.label14.Name = "label14";
			this.label14.TabIndex = 21;
			this.label14.Text = "label1:";
			this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox15
			// 
			this.textBox15.Location = new System.Drawing.Point(128, 240);
			this.textBox15.Name = "textBox15";
			this.textBox15.TabIndex = 20;
			this.textBox15.Text = "textBox15";
			// 
			// label15
			// 
			this.label15.Location = new System.Drawing.Point(24, 240);
			this.label15.Name = "label15";
			this.label15.TabIndex = 19;
			this.label15.Text = "label1:";
			this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox16
			// 
			this.textBox16.Location = new System.Drawing.Point(128, 216);
			this.textBox16.Name = "textBox16";
			this.textBox16.TabIndex = 18;
			this.textBox16.Text = "textBox16";
			// 
			// label16
			// 
			this.label16.Location = new System.Drawing.Point(24, 216);
			this.label16.Name = "label16";
			this.label16.TabIndex = 17;
			this.label16.Text = "label1:";
			this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(128, 192);
			this.textBox5.Name = "textBox5";
			this.textBox5.TabIndex = 16;
			this.textBox5.Text = "textBox5";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(24, 192);
			this.label5.Name = "label5";
			this.label5.TabIndex = 15;
			this.label5.Text = "label1:";
			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox6
			// 
			this.textBox6.Location = new System.Drawing.Point(128, 168);
			this.textBox6.Name = "textBox6";
			this.textBox6.TabIndex = 14;
			this.textBox6.Text = "textBox6";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(24, 168);
			this.label6.Name = "label6";
			this.label6.TabIndex = 13;
			this.label6.Text = "label1:";
			this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox7
			// 
			this.textBox7.Location = new System.Drawing.Point(128, 144);
			this.textBox7.Name = "textBox7";
			this.textBox7.TabIndex = 12;
			this.textBox7.Text = "textBox7";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(24, 144);
			this.label7.Name = "label7";
			this.label7.TabIndex = 11;
			this.label7.Text = "label1:";
			this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox8
			// 
			this.textBox8.Location = new System.Drawing.Point(128, 120);
			this.textBox8.Name = "textBox8";
			this.textBox8.TabIndex = 10;
			this.textBox8.Text = "textBox8";
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(24, 120);
			this.label8.Name = "label8";
			this.label8.TabIndex = 9;
			this.label8.Text = "label1:";
			this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(128, 96);
			this.textBox3.Name = "textBox3";
			this.textBox3.TabIndex = 8;
			this.textBox3.Text = "textBox3";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(24, 96);
			this.label3.Name = "label3";
			this.label3.TabIndex = 7;
			this.label3.Text = "label1:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox4
			// 
			this.textBox4.Location = new System.Drawing.Point(128, 72);
			this.textBox4.Name = "textBox4";
			this.textBox4.TabIndex = 6;
			this.textBox4.Text = "textBox4";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(24, 72);
			this.label4.Name = "label4";
			this.label4.TabIndex = 5;
			this.label4.Text = "label1:";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(128, 48);
			this.textBox2.Name = "textBox2";
			this.textBox2.TabIndex = 4;
			this.textBox2.Text = "textBox2";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(24, 48);
			this.label2.Name = "label2";
			this.label2.TabIndex = 3;
			this.label2.Text = "label1:";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(128, 24);
			this.textBox1.Name = "textBox1";
			this.textBox1.TabIndex = 2;
			this.textBox1.Text = "textBox1";
			// 
			// checkBox1
			// 
			this.checkBox1.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(222)));
			this.checkBox1.Location = new System.Drawing.Point(288, 24);
			this.checkBox1.Name = "checkBox1";
			this.checkBox1.Size = new System.Drawing.Size(208, 24);
			this.checkBox1.TabIndex = 1;
			this.checkBox1.Text = "checkBox1";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(24, 24);
			this.label1.Name = "label1";
			this.label1.TabIndex = 0;
			this.label1.Text = "label1:";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// tabPage2
			// 
			this.tabPage2.Location = new System.Drawing.Point(4, 23);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Size = new System.Drawing.Size(784, 386);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "tabPage2";
			// 
			// colorDialog1
			// 
			this.colorDialog1.AnyColor = true;
			this.colorDialog1.FullOpen = true;
			// 
			// ManyControlForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(792, 573);
			this.Controls.Add(this.tabControl1);
			this.Controls.Add(this.panel1);
			this.Name = "ManyControlForm";
			this.Text = "ManyControlForm";
			this.Load += new System.EventHandler(this.ManyControlForm_Load);
			this.panel1.ResumeLayout(false);
			this.groupBox1.ResumeLayout(false);
			this.tabControl1.ResumeLayout(false);
			this.tabPage1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion


		private asMdiManager mdi = null;

		private void ManyControlForm_Load(object sender, System.EventArgs e)
		{
			mdi = (asMdiManager)this.Parent.Parent;
			if (mdi != null)
			{
				this.button1.BackColor = mdi.FrameBackColor;
				this.button3.BackColor = mdi.TabColor;
				this.button4.BackColor = mdi.TabBorderColor;
				this.checkBox2.Checked = mdi.UseColorGradient;
				this.checkBox3.Checked = mdi.AllowCloseWhenDbClick;
			}
		}


		private void button2_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			this.colorDialog1.Color = this.button1.BackColor;
			if (this.colorDialog1.ShowDialog() == DialogResult.OK)
			{
				this.mdi.FrameBackColor= colorDialog1.Color;
				this.button1.BackColor = colorDialog1.Color;
			}
		
		}

		private void button3_Click(object sender, System.EventArgs e)
		{
			this.colorDialog1.Color = this.button3.BackColor;
			if (this.colorDialog1.ShowDialog() == DialogResult.OK)
			{
				this.mdi.TabColor= colorDialog1.Color;
				this.button3.BackColor = colorDialog1.Color;
			}
		}

		private void button4_Click(object sender, System.EventArgs e)
		{
			this.colorDialog1.Color = this.button4.BackColor;
			if (this.colorDialog1.ShowDialog() == DialogResult.OK)
			{
				this.mdi.TabBorderColor= colorDialog1.Color;
				this.button4.BackColor = colorDialog1.Color;
			}
		}

		private void checkBox2_CheckedChanged(object sender, System.EventArgs e)
		{
			this.mdi.UseColorGradient = this.checkBox2.Checked;
		}

		private void checkBox3_CheckedChanged(object sender, System.EventArgs e)
		{
			this.mdi.AllowCloseWhenDbClick = this.checkBox3.Checked;
		}
	}
}

